2005-09-02 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkentry.c (gtk_entry_class_init):
+ * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
+ for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)
+
* gtk/gtkimcontextsimple.c: Rework the Unicode hex input
code. Now we only steal a single key combination, Ctrl-Shift-U,
instead of sixteen.
2005-09-02 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkentry.c (gtk_entry_class_init):
+ * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
+ for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)
+
* gtk/gtkimcontextsimple.c: Rework the Unicode hex input
code. Now we only steal a single key combination, Ctrl-Shift-U,
instead of sixteen.
GTK_TYPE_MOVEMENT_STEP, GTK_MOVEMENT_VISUAL_POSITIONS,
G_TYPE_INT, 0,
G_TYPE_BOOLEAN, FALSE);
+ gtk_binding_entry_add_signal (binding_set, GDK_a, GDK_SHIFT_MASK | GDK_CONTROL_MASK,
+ "move_cursor", 3,
+ GTK_TYPE_MOVEMENT_STEP, GTK_MOVEMENT_VISUAL_POSITIONS,
+ G_TYPE_INT, 0,
+ G_TYPE_BOOLEAN, FALSE);
/* Activate
*/
"select_all", 1,
G_TYPE_BOOLEAN, FALSE);
+ gtk_binding_entry_add_signal (binding_set, GDK_a, GDK_SHIFT_MASK | GDK_CONTROL_MASK,
+ "select_all", 1,
+ G_TYPE_BOOLEAN, FALSE);
+
/* Deleting text */
gtk_binding_entry_add_signal (binding_set, GDK_Delete, 0,
"delete_from_cursor", 2,